package cn.unknowpupil.domain.system;

import cn.unknowpupil.common.core.annotation.Excel;
import cn.unknowpupil.common.mybatis.base.SuperEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;


/**
 * Created at 2020-10-21 by  w10g <br>
 * Initialize SysPost  ... <br>
 *  岗位信息表
 *
 * @author unknowpupil
 * @since 0.0.1
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("sys_post")
@ApiModel(value = "SysPost 域", description = "岗位信息表")
public class SysPost extends SuperEntity<SysPost> {

private static final long serialVersionUID=1L;
    /**
     * 岗位编码
     */
    @ApiModelProperty(value = "岗位编码")
    @Excel(name = "岗位编码")
    @TableField(value ="post_code")
    private String postCode;
    /**
     * 岗位名称
     */
    @ApiModelProperty(value = "岗位名称")
    @Excel(name = "岗位名称")
    @TableField(value ="post_name")
    private String postName;
    /**
     * 显示顺序
     */
    @ApiModelProperty(value = "显示顺序")
    @Excel(name = "显示顺序")
    @TableField(value ="post_sort")
    private Integer postSort;

}